<div class="box">
	<div class="box-header with-border">
		<h3 class="box-title"><button type="button" class="btn btn-block btn-warning" name="position_add">+添加职位</button></h3>
		<div class="box-tools">
			<div class="input-group input-group-sm hidden-xs" style="width: 150px;">
				<input type="text" name="table_search" class="form-control pull-right" placeholder="Search">

				<div class="input-group-btn">
					<button type="submit" name="position_search" class="btn btn-default"><i class="fa fa-search"></i>
						<tton>
				</div>
			</div>
		</div>

	</div>

	<!-- /.box-header -->
	<div class="box-body">
		<table class="table table-bordered">
			<tbody>
				<tr>
					<th style="width: 200px">logo</th>
					<th style="width: 200px">公司名称</th>
					<th>职位</th>
					<th>薪水管理</th>
					<th style="width: 300px">管理</th>
				</tr>
				{{#each datalist}}
					<tr>
						<td><img style="width: 50px;height: 40px;display: block;" src="http://localhost:3000/upload/{{companyLogo}}"></td>
						<td>{{companyName}}</td>
						<td>
							{{positionName}}

						</td>
						<td>{{salary}}</td>
						<td data-id="{{_id}}"><button type="button" class="btn  btn-success" style="width: 60px" name="position_update">编辑</button>
							<button type="button" class="btn  btn-danger" style="width: 60px" name="position_del">删除</button></td>
					</tr>
				{{/each}}
			</tbody>
		</table>
	</div>
	<!-- /.box-body -->
	<div class="box-footer clearfix">
		<ul class="pagination pagination-sm no-margin pull-right">
			<li><a href="#/position?pageno=1&pagesize={{pagesize}}&keywords={{keywords}}">«</a></li>
			{{# each pages}}
				<li><a href="#/position?pageno={{this}}&pagesize={{../pagesize}}&keywords={{keywords}}">{{this}}</a></li>
				{{/each}}
				<li><a href="#/position?pageno={{ pages.length }}&pagesize={{pagesize}}&keywords={{keywords}}">»</a></li>
		</ul>
	</div>
</div>
